package com.jinly.ryder.account.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jinly.ryder.account.service.model.UserInfo;

import java.util.List;
import java.util.Set;

public interface UserInfoService {
    Page<UserInfo> queryUserPage(Page page, UserInfo userInfo);

    UserInfo getUserInfo(Long userId);

    void addUserInfo(UserInfo userInfo);

    void updateUserInfo(UserInfo userInfo);

    UserInfo checkUserInfo(String username, String password);

    List<UserInfo> batchQueryUsers(Set<Long> userIds);

    List<UserInfo> batchQueryUsersByUserName(Set<String> collect);
}
